package com.dx.architectureddd.app.chain.init;

import com.dx.architectureddd.api.dto.req.FinishCmd;
import com.dx.architectureddd.api.dto.req.InitCmd;
import com.dx.architectureddd.common.dp.pipeline.PipelineContext;
import lombok.Data;

import java.util.Map;

/**
 * 初始化上下文
 *
 * @author xin.deng
 * @date 2023/09/24
 */
@Data
public class InitContext extends PipelineContext<InitCmd> {

    /**
     * 入参
     */
    private Map<String, Object> inPut;

    /**
     * 初始化后的结果数据
     */
    private FinishCmd finishCmd;

    @Override
    public String getName() {
        return "流程初始化上下文";
    }
}
